Deal with --force-extra-removable with signed shim too
authorSteve McIntyre <93sam@debian.org>
Fri, 14 Jun 2019 15:37:11 +0000 (16:37 +0100)
committerFelix Zielcke <fzielcke@z-51.de>
Mon, 15 Jul 2024 15:05:20 +0000 (17:05 +0200)
commitab5d36c6fc957fe0e17928f5cf6215ea6c2bef47
tree0c7ec87e7af58a9146df7b0629eedb98b8c43af1
parent414a212fb5282805c772627e5a1cf48dd565efc5
Deal with --force-extra-removable with signed shim too

In this case, we need both the signed shim as /EFI/BOOT/BOOTXXX.EFI
and signed Grub as /EFI/BOOT/grubXXX.efi.

Also install the BOOTXXX.CSV into /EFI/debian, and FBXXX.EFI into
/EFI/BOOT/ so that it can work when needed (*iff* we're updating the
NVRAM).

[cjwatson: Refactored also_install_removable somewhat for brevity and so
that we're using consistent case-insensitive logic.]

Bug-Debian: https://bugs.debian.org/930531
Last-Update: 2021-09-24

Patch-Name: grub-install-removable-shim.patch

Gbp-Pq: Name grub-install-removable-shim.patch
util/grub-install.c